package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;
import com.itheima.pojo.orderSetmeal;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface SetmealService {
    public void add(Setmeal setmeal, Integer[] checkgroupIds);

    public PageResult findPage(QueryPageBean queryPageBean);

    public List<Setmeal> findAll();

    public Setmeal findById(Integer id);

    public List<Map<String,Object>> findSetmealCount();

    public List<Map<String,Object>> findDataCount();
    // 根据会员ID和日期查询套餐
    public List<Map> findByMemIdAndDate(String startDate,String endDate, String id);


}
